package cn.hfatec.shms.web.ss.ssCrux.dao;

import java.util.List;

import cn.hfatec.shms.web.ss.ssCrux.model.SsCrux;
import cn.hfatec.mybatis.mapper.SqlMapper;
import cn.hfatec.shms.web.ss.ssCustomer.model.SsCustomer;
import org.springframework.stereotype.Component;
import org.apache.ibatis.annotations.Param;

import cn.hfatec.shms.web.ss.ssCrux.model.SsCruxParams;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
@Component("SsCruxDao")
public interface SsCruxDao extends SqlMapper {

    /**
     *
     * 查询数据
     *
    */
    public List querySsCrux(@Param("params") SsCruxParams params);
    public List<SsCrux> getCrux(@Param("testDate")String testDate,@Param("testEnd")String testEnd);

    /**
     *
     * 根据主键获取数据
     *
     */
    public SsCrux getSsCruxById(Integer id);
    public SsCrux getSsCruxByCruxId(String cruxId);


    /**
     *
     * 插入数据
     *
     */
    public void insert(SsCrux ssCrux);

    /**
     *
     * 删除数据
     *
     */
    public void delete(Integer id);

    /**
     *
     * 更新数据
     *
     */
    public void update(SsCrux ssCrux);
}
